package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppGameZpRecordDao;
import com.vf.admin.client.service.AppGameZpRecordService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.GameZpRecord;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppGameZpRecordServiceImpl implements AppGameZpRecordService {
    private final Logger logger = LoggerFactory.getLogger(this.getClass());
    @Autowired
    private AppGameZpRecordDao zpRecordDao;


    @Override
    public void save(GameZpRecord zpRecord) {
        zpRecordDao.save(zpRecord);
    }

    @Override
    public List<GameZpRecord> findList(Integer userid, SplitPageBean splitPage) {
        return zpRecordDao.findList(userid,splitPage);
    }

}
